Plant Options
Currently a plant has the following options you can set
- label:
string- The name of the plant that's used in the NUI
- hasOwner:
booltrue|falseif just the owner can interact with plants of this type
- timePerStage:
number- The time in milliseconds per stage/prop in
props
- The time in milliseconds per stage/prop in
- props:
table- Containing the props that get spawned for a stage, first prop = first stage, second = second ...
- harvestedItem:
string- The item you get when harvesting
- min:
number- minimum amount of harvestedItem
- max:
number- maximum amount of harvestedItem
- itemToHarvest:
not implemented - grounds:
table- A table containing hashes from
Config.Materialnamesthe plant can be planted on
- A table containing hashes from
- waterConsumptionRate:
number - waterThreshold:
number- Minimum needed water to stage up to next prop/grow state
- survivalThreshold:
number- Minimum needed water to ensure that timeTilNextStage timer on the server main loop keeps decrementing
- target:
table- size:
vector3- The area you can interact with the ox_target for this plant. To view the area set Config.Debug to true
- size: